package com.linjuke.water.core.services.impl;

import com.linjuke.water.common.domains.BaseUserDO;
import com.linjuke.water.common.services.BaseUserService;
import com.linjuke.water.core.dal.datainterface.BaseUserDAO;

public class BaseUserServiceImpl implements BaseUserService {

	private BaseUserDAO baseUserDAO;

	public long create(BaseUserDO baseUserDO) {
		return baseUserDAO.create(baseUserDO);
	}

	public BaseUserDO queryById(long id) {
		return baseUserDAO.queryById(id);
	}

	public BaseUserDO queryBySsid(String ssid) {
		return baseUserDAO.queryBySsid(ssid);
	}

	public void delete(long id) {
		baseUserDAO.delete(id);
	}

	public void update(BaseUserDO baseUserDO) {
		baseUserDAO.update(baseUserDO);
	}

	public void setBaseUserDAO(BaseUserDAO baseUserDAO) {
		this.baseUserDAO = baseUserDAO;
	}
	
}
